package com.dnjn.happiness.biz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dnjn.happiness.biz.domain.TrainingRecord;
import com.dnjn.happiness.biz.domain.TrainingUserVO;
import com.dnjn.happiness.system.api.domain.SysUser;

import java.util.List;

/**
 * 培训签到记录Service接口
 *
 * @author happiness
 * @date 2023-11-04
 */
public interface ITrainingRecordService extends IService<TrainingRecord> {

    List<SysUser> forTrainingDetailsSeeFeedback(Long trainingId);

    List<TrainingRecord> forTrainingDetailsSeeFeedbackByTrainingIdAndLeaderId(Long trainingId, Long leaderId);

    List<TrainingUserVO> screeningTrainingSubmit(Long trainingId, Long deptId, String nickName);

    Page<TrainingRecord> goToTheTrainingDetailsView(Page<TrainingRecord> page, String status, Long trainingId);

    void getInfo(List<TrainingRecord> records);

    List<TrainingRecord> getResultListByTrainingId(String trainingId);

    List<TrainingRecord> selectRecordsByTrainingId(String trainingId);
}
